package scatter.wxcp.pojo.form;

import scatter.common.pojo.form.BaseAddForm;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import com.baomidou.mybatisplus.annotation.TableName;
import scatter.common.pojo.po.BasePo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 企业微信应用通知配置添加表单对象
 * </p>
 *
 * @author yw
 * @since 2021-08-25
 */
@Setter
@Getter
@ApiModel(value="企业微信应用通知配置添加表单对象")
public class WxCpNotifyConfigAddForm extends BaseAddForm {

    @NotNull(message="应用id不能为空")
    @ApiModelProperty(value = "应用id",required = true)
    private Integer agentId;

    @NotEmpty(message="应用名称不能为空")
    @ApiModelProperty(value = "应用名称",required = true)
    private String agentName;

    @NotEmpty(message="发送用户不能为空")
    @ApiModelProperty(value = "发送用户",required = true)
    private String toUser;

}
